package com.ck.common.model.bo;

import java.io.Serializable;

/**
* @Description: 设备关键信息 - 记录设备的关键信息如：唯一序列号、token
* @Author: hf
* @Date:    2018/10/19 14:28
* @Version: 1.0
*/
public class DeviceKeyMsg implements Serializable {
	private static final long serialVersionUID = 1L;
	/** 设备唯一序列号 */
	private String deviceCode;
	/** toke(注册后返回的唯一标识) */
	private String token;
    /** 是否绑定，注册后即绑定，后端可解绑，解绑后前端操作注册再次绑定*/
    private Integer bindStatus;
	/** 设备所属门店id */
	private Long storeId;

	public String getDeviceCode() {
		return deviceCode;
	}

	public void setDeviceCode(String deviceCode) {
		this.deviceCode = deviceCode;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

    public Integer getBindStatus() {
        return bindStatus;
    }

    public void setBindStatus(Integer bindStatus) {
        this.bindStatus = bindStatus;
    }

	public Long getStoreId() {
		return storeId;
	}

	public void setStoreId(Long storeId) {
		this.storeId = storeId;
	}

	public DeviceKeyMsg() {
       super();
    }

    public DeviceKeyMsg(String deviceCode, String token, Integer bindStatus) {
        this.deviceCode = deviceCode;
        this.token = token;
        this.bindStatus = bindStatus;
    }
}
